import QtQuick 2.0
import PluginHandler 1.0


//    property Component cmpt;
//    orientation: ListView.Horizontal
//    layoutDirection: Qt.LeftToRight
//    snapMode: ListView.SnapOneItem
//    interactive: false      // 关闭滑动
//    headerPositioning: ListView.OverlayHeader

Rectangle {
    Loader {
        id: loader
        anchors.fill: parent
        sourceComponent: null
    }

    Connections {
        target: PluginHandler
        function onPageChanged(page) {
            loader.sourceComponent = page;
        }
    }
}




